<%@ page import="com.scalar.chiptrack.users.Functionality"%>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD bgColor="#FFFFFF" colSpan=6><IMG height=28
      src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
    <TD vAlign=top noWrap colSpan=6>
	<img src="<%=chipTracContext%>/jsp/includes/images/top_curve.gif" width=32 height=28><IMG src="<%=chipTracContext%>/jsp/includes/images/title_sales.gif"></TD></TR>

     <TR>
      	<td colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
        <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
      <TR>
        <TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
        <TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
      <TR>
        <TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
        <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
        <TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
        <TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
        	<%-- <html:link page="/selectCustomer.do?action=SelectCustomer&isSample=0">New Sample Order</html:link> --%>
            <chiptrack:restrictedLink functionality='<%=Functionality.SAMPLE_NEW_SAMPLE_ORDER%>' styleClass="leftsection" href="/chiptrack/selectCustomer.do?action=SelectCustomer&isSample=0" onmouseover="window.status='Click for enter new sample order entry';return true" onmouseout="window.status='';return true">New Sample Order</chiptrack:restrictedLink>
            </SPAN></TD>
        <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
      <TR>
        <TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
        <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
        <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
        <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
        <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
            <!--    <A class=leftsection href="change_order.html"> Change Order</A> -->
            <%-- <html:link page="/changeOrders.do?isSample=0"> Change Sample Order </html:link> </SPAN> --%>
            <chiptrack:restrictedLink functionality='<%=Functionality.SAMPLE_CHANGE_ORDER%>' styleClass="leftsection" href="/chiptrack/changeOrders.do?isSample=0" onmouseover="window.status='Click for change sample order entry';return true" onmouseout="window.status='';return true">Change Sample Order</chiptrack:restrictedLink>
        </TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
            <!--    <A class=leftsection href="pending_orders.html">Pending Orders</A> -->
            <%-- <html:link page="/pendingOrders.do?isSample=0"> Pending Samples </html:link> --%>
            <chiptrack:restrictedLink functionality='<%=Functionality.SAMPLE_PENDING_ORDER%>' styleClass="leftsection" href="/chiptrack/pendingOrders.do?isSample=0" onmouseover="window.status='Click for pending sample orders';return true" onmouseout="window.status='';return true">Pending Samples</chiptrack:restrictedLink>
            </SPAN>
        </TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>

    <%-- View Samples starts here --%>

 <TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
            <chiptrack:restrictedLink functionality='<%=Functionality.SAMPLE_VIEW_ORDER%>' styleClass="leftsection" href="/chiptrack/viewOrders.do?isSample=0" onmouseover="window.status='Click for view samples';return true" onmouseout="window.status='';return true">View Samples</chiptrack:restrictedLink>
        </TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
    <%-- View Samples ends here --%>
 <%--

<TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
            <!--<A class=leftsection href="missed_orders.html"> Missed Orders</A> -->
            <!-- <html:link page="/missedOrders.do?isSample=0"> Missed Samples </html:link> </SPAN> --!>
            <chiptrack:restrictedLink functionality='<%=Functionality.SALES_MISSED_ORDER%>' styleClass="leftsection" href="/chiptrack/missedOrders.do?isSample=0" onmouseover="window.status='Click for missed samples';return true" onmouseout="window.status='';return true">Missed Samples</chiptrack:restrictedLink>
        </TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
    --%>

<TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
            <!--<A class=leftsection href="cancellation_orders.html"> -->
	  <%--<html:link page="/cancelledOrders.do?isSample=0"> Cancelled Samples </html:link>  </SPAN>--%>
      <chiptrack:restrictedLink functionality='<%=Functionality.SAMPLE_CANCELLED_ORDER%>' styleClass="leftsection" href="/chiptrack/cancelledOrders.do?isSample=0" onmouseover="window.status='Click for cancelled samples';return true" onmouseout="window.status='';return true">Cancelled Samples</chiptrack:restrictedLink>
      </TD>

	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>

<TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#FFFFFF" colSpan=2><SPAN class=leftsection>&nbsp;
            <chiptrack:restrictedLink functionality='<%=Functionality.SALES_HOLDS_RELEASES%>' styleClass="leftsection" href="/chiptrack/salesHold.do?isSample=0" onmouseover="window.status='Click for sales holds and release for Sample Orders';return true" onmouseout="window.status='';return true">Hold/Release Samples</chiptrack:restrictedLink>
	    </SPAN></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
<TR>


  <TR>
	<TD colspan='6' background='<%=chipTracContext%>/jsp/includes/images/left_bg.gif'>
	    <IMG height=60 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=150></TD> </TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76" colSpan=5><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD noWrap align=middle bgColor="#CCCCCC"><IMG height=8 src="<%=chipTracContext%>/jsp/includes/images/left_arrow.gif" width=7 vspace=6 border=0></TD>
	<TD noWrap bgColor="#493B76" colSpan=2><SPAN class=mainmenu>&nbsp;<A class=mainmenu_sel href="<%=chipTracContext%>/jsp/sales/sales.jsp" onmouseover="window.status='Click for sales Main Menu';return true" onmouseout="window.status='';return true">
	  Sales Menu   </A> </SPAN></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></TD></TR>
  <TR>
	<TD background="<%=chipTracContext%>/jsp/includes/images/left_bg.gif"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=15></TD>
	<TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=120></TD>
    <TD bgColor="#493B76"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD></TR>
  </TBODY>
  </TABLE><BR>
